package com.pinyoumei.app.adapter;

import android.support.annotation.Nullable;

import com.pinyoumei.app.R;
import com.pinyoumei.app.bean.LuckInitBean;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

/**
 * Created by Administrator on 2021-08-09.
 * --------- 日期 ------- 维护人 ------------ 变更内容 --------
 * 2021-08-09        Administrator             新增Person类
 * 2021-08-09        Administrator             增加sex属性
 */
public class LuckListAdapter extends BaseQuickAdapter<LuckInitBean.ResultBean.PrideUserList, BaseViewHolder> {
    public LuckListAdapter(int layoutResId, @Nullable List<LuckInitBean.ResultBean.PrideUserList> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, LuckInitBean.ResultBean.PrideUserList item) {
        helper.setText(R.id.tv_user_phone,item.getUser_phone());
        helper.setText(R.id.tv_pride_desc,item.getPride_desc());
    }
}
